﻿@model IEnumerable<PartyManagement.Models.UserProfile>

@{
    ViewBag.Title = "Details";
    Layout = "~/Views/Shared/_MyLayout.cshtml";
}

<h2>Members</h2>


<table>
    <tr>
       
        <th>
            @Html.DisplayName("Name")
        </th>
        </tr>
     @foreach( var i in Model)
    {
     <tr>
        <td>
        @Html.DisplayFor(model => i.UserName)
            </td>
       </tr>
    }
</table>

<p>
   
    @Html.ActionLink("Back to Event", "Index","BookEvent")
</p>
